package com.qf.taobei.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
public class Type {
    @ApiModelProperty("类别id")
    private Integer id;
    @ApiModelProperty("类别名称")
    private String tName;
    @ApiModelProperty("级别")
    private Integer level;
    @ApiModelProperty("父级id")
    private Integer parentId;

    private List<Product> productList;
}
